import request from '@/utils/request'

// 查询用药提醒列表
export function listMedRemind(query) {
  return request({
    url: '/gonitis/medRemind/list',
    method: 'get',
    params: query
  })
}

// 查询用药提醒详细
export function getMedRemind(id) {
  return request({
    url: '/gonitis/medRemind/' + id,
    method: 'get'
  })
}

// 修改用药提醒
export function updateMedRemind(data) {
  return request({
    url: '/gonitis/medRemind',
    method: 'put',
    data: data
  })
}

// 删除用药提醒
export function delMedRemind(id) {
  return request({
    url: '/gonitis/medRemind/' + id,
    method: 'delete'
  })
}
